Fix a typo in gsk_border_node_diff
authorAndrey Kozlovskiy <andrononete@gmail.com>
Wed, 17 Mar 2021 15:38:01 +0000 (15:38 +0000)
committerAndrey Kozlovskiy <andrononete@gmail.com>
Wed, 17 Mar 2021 15:38:01 +0000 (15:38 +0000)
Typo was introduced in !3278 and results in an incorrect handling of different uniformity.

gsk/gskrendernodeimpl.c

index 1131df512576d3356f8344b4e5b27c99c241ed6e..04e9977a5272fc73bc76b668015946b52b889e58 100644 (file)
@@ -1310,7 +1310,7 @@ gsk_border_node_diff (GskRenderNode  *node1,
     return;
 
   /* Different uniformity -> diff impossible */
-  if (uniform1 ^ uniform1)
+  if (uniform1 ^ uniform2)
     {
       gsk_render_node_diff_impossible (node1, node2, region);
       return;